﻿@{
    ViewBag.Title = "Home Page";
}

@section scripts{

    @*<script src="~/Scripts/combobox.js"></script>
        <script src="~/ExtendJs/A.js"></script>
        <script src="~/ExtendJs/B.js"></script>
        <script src="~/ExtendJs/C.js"></script>
        <script src="~/ExtendJs/Inherit.js"></script>
        <script src="~/ExtendJs/ObjectExtend.js"></script>*@
    <script type="text/javascript">
        $(function () {
            //$('#sel_search_plant').combobox({
            //    url: '/home/GetJsonData',
            //    valueField: 'Id',
            //    textField: 'Name'
            //});
            //$("#btnClick").click(function () {
            //    var val = $('#sel_search_plant').combobox('getValue');
            //    alert(val);
            //});
            //module.Init();
            $.post('/home/CheckLog', { UserName: "zhangs", Password: "" }, function (data) {
                if (data.success) alert('success');
            });
        });
    </script>
}

